//
// Copyright (C) 2011 David Eckhoff <eckhoff@cs.fau.de>
//
// Documentation for these modules is at http://veins.car2x.org/
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
//

package org.car2x.veins.modules.phy;

import org.car2x.veins.base.phyLayer.BasePhyLayer;

//
// Adaptation of the PhyLayer class for 802.11p.
//
// @see DemoBaseApplLayer
// @see Nic80211p
// @see Mac1609_4
//
simple PhyLayer80211p extends BasePhyLayer
{
    parameters:
        @class(Veins::PhyLayer80211p);
        antennaOffsetZ = default(1.895 m);
        //defines the CCA threshold
        double ccaThreshold @unit(dBm) = default(-65 dBm);
        //enables/disables collection of statistics about collision. notice that
        //enabling this feature increases simulation time
        bool collectCollisionStatistics = default(false);
        //decides whether aborting the simulation or not if the MAC layer
        //requires phy to transmit a frame while currently receiveing another
        bool allowTxDuringRx = default(false);
}
